package com.lottery.material.entity.circle;

import com.lottery.material.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Description：正式圈员申请规则配置表
 * Created by 朱正磊 on 2019-04-09 10:21
 */
@Entity
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "material_circle_rule_config")
public class CircleRuleConfig extends BaseEntity {

    private static final long serialVersionUID = 8896811881358424146L;

    @Column(columnDefinition = "decimal(19,2) comment '申请验证费用'")
    private BigDecimal validateCost;

    @Column(columnDefinition = "text comment '正式圈员申请规则描述'")
    private String circleApplyDesc;

    @Column(columnDefinition = "int(1) default '1' comment '是否删除（1：否；2：是）'")
    private Integer isDelete;

}
